﻿using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace K9Workflow.Forms
{
    public interface IFormDataStore
    {
        ValueTask SaveAsync(FormData formData, CancellationToken cancellation);
    }
    
    public class FormData
    {
        public int FormId { get; set; }

        public IDictionary<string, object> Data { get; set; } 
    }
}